package com.letv.core.bean.channel;

import java.util.ArrayList;

import com.letv.core.bean.LetvBaseBean;
import com.letv.core.bean.SiftKVP;

public class ChannelHomeSimpleBlock implements LetvBaseBean {

    private static final long serialVersionUID = 1L;

    /**
     * CMS中的记录唯一标示id（个性化推荐数据无此属性）
     * */
    private String cmsid;

    /**
     * 专辑id
     * */
    private int pid;

    /**
     * 视频id
     * */
    private int vid;
    /**
     * 专题ID
     * */
    private String zid;

    /**
     * 视频名称
     * */
    private String nameCn;

    /**
     * 副标题
     * */
    private String subTitle;

    /**
     * 频道id
     * */
    private int cid;

    /**
     * 影片来源标示：1-专辑,3-视频
     * */
    private int type;

    /**
     * 专辑类型
     */
    private String albumType;

    /**
     * 视频类型
     */
    private String videoType;

    /**
     * 是否是栏目:true - 是，false - 否
     */
    private boolean varietyShow;

    /**
     * 点击展示方式：1-半屏播放器 2-全屏无专辑单视频 3-全屏播放直播流 4-外跳web 5-内嵌webview 6-进入精品推荐页
     * 7-频道入口引导（点击进入对应的频道）
     * */
    private int at;

    /**
     * 总集数
     * */
    private int episode;

    /**
     * 跟播的当前总集数
     * */
    private int nowEpisodes;

    /**
     * 是否完结 1:完结;0未完结
     * */
    private int isEnd;

    /**
     * 1:可以播放;0:不可以播放
     * */
    private int play;

    /**
     * 1:外跳，0:不外跳
     * */
    private int jump;

    /**
     * 1:需要支付;0:免费
     * */
    private int pay;

    /**
     * 盖章类型：1-最新，2-最热，3-独播，4-大结局，5-花絮，6-预告，7-高清，8-完结，9-经典(5.3版本意义已经改变)
     * */
    private String tag;

    /**
     * 5.3版本统一改成该字段，焦点图和block都会吐出对应的图片
     */
    private String mobilePic;

    /**
     * 直播编号
     * */
    private String streamCode;

    /**
     * 外跳web地址
     * */
    private String webUrl;

    /**
     * 内嵌webview地址
     * */
    private String webViewUrl;
    /**
     * 直播流地址
     */
    private String streamUrl;

    /**
     * 过期时间戳
     */
    private String tm;

    /**
     * 时长（秒），只针对单视频（体育，nba，纪录片）
     */
    private String duration;

    /**
     * 音乐类型，歌手字段
     */
    private String singer;

    /**
     * 是否为自动个性化推荐内容：true - 是，false - 否
     * */
    private String is_rec;

    /**
     * zhibo id
     */
    private String id;

    private String homeImgUrl;

    private String guestImgUrl;

    private String padPic;

    public String getHomeImgUrl() {
        return homeImgUrl;
    }

    public void setHomeImgUrl(String homeImgUrl) {
        this.homeImgUrl = homeImgUrl;
    }

    public String getGuestImgUrl() {
        return guestImgUrl;
    }

    public void setGuestImgUrl(String guestImgUrl) {
        this.guestImgUrl = guestImgUrl;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLiveid() {
        return liveid;
    }

    public void setLiveid(String liveid) {
        this.liveid = liveid;
    }

    private String liveid;

    public void setIs_rec(String is_rec) {
        this.is_rec = is_rec;
    }

    public String getIs_rec() {
        return is_rec;
    }

    public boolean isRec() {
        return "true".equals(is_rec);
    }

    /**
     * @return the zid
     */
    public String getZid() {
        return zid;
    }

    /**
     * @param zid the zid to set
     */
    public void setZid(String zid) {
        this.zid = zid;
    }

    /**
     * 分类标签列表
     * */
    private ArrayList<SiftKVP> showTagList;

    public String getStreamUrl() {
        return streamUrl;
    }

    public void setStreamUrl(String streamUrl) {
        this.streamUrl = streamUrl;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getVid() {
        return vid;
    }

    public void setVid(int vid) {
        this.vid = vid;
    }

    public String getNameCn() {
        return nameCn;
    }

    public void setNameCn(String nameCn) {
        this.nameCn = nameCn;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getAt() {
        return at;
    }

    public void setAt(int at) {
        this.at = at;
    }

    public int getEpisode() {
        return episode;
    }

    public void setEpisode(int episode) {
        this.episode = episode;
    }

    public int getNowEpisodes() {
        return nowEpisodes;
    }

    public void setNowEpisodes(int nowEpisodes) {
        this.nowEpisodes = nowEpisodes;
    }

    public int getIsEnd() {
        return isEnd;
    }

    public void setIsEnd(int isEnd) {
        this.isEnd = isEnd;
    }

    public int getPlay() {
        return play;
    }

    public void setPlay(int play) {
        this.play = play;
    }

    public int getJump() {
        return jump;
    }

    public void setJump(int jump) {
        this.jump = jump;
    }

    public int getPay() {
        return pay;
    }

    public void setPay(int pay) {
        this.pay = pay;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getMobilePic() {
        return mobilePic;
    }

    public void setMobilePic(String mobilePic) {
        this.mobilePic = mobilePic;
    }

    public String getStreamCode() {
        return streamCode;
    }

    public void setStreamCode(String streamCode) {
        this.streamCode = streamCode;
    }

    public String getWebUrl() {
        return webUrl;
    }

    public void setWebUrl(String webUrl) {
        this.webUrl = webUrl;
    }

    public String getWebViewUrl() {
        return webViewUrl;
    }

    public void setWebViewUrl(String webViewUrl) {
        this.webViewUrl = webViewUrl;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public ArrayList<SiftKVP> getShowTagList() {
        return showTagList;
    }

    public void setShowTagList(ArrayList<SiftKVP> showTagList) {
        this.showTagList = showTagList;
    }

    /**
     * @return the tm
     */
    public String getTm() {
        return tm;
    }

    /**
     * @param tm
     * the tm to set
     */
    public void setTm(String tm) {
        this.tm = tm;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getSinger() {
        return singer;
    }

    public void setSinger(String singer) {
        this.singer = singer;
    }

    public String getCmsid() {
        return cmsid;
    }

    public void setCmsid(String cmsid) {
        this.cmsid = cmsid;
    }

    public String getAlbumType() {
        return albumType;
    }

    public void setAlbumType(String albumType) {
        this.albumType = albumType;
    }

    public String getVideoType() {
        return videoType;
    }

    public void setVideoType(String videoType) {
        this.videoType = videoType;
    }

    public boolean isVarietyShow() {
        return varietyShow;
    }

    public void setVarietyShow(boolean varietyShow) {
        this.varietyShow = varietyShow;
    }

    public String getPadPic() {
        return padPic;
    }

    public void setPadPic(String padPic) {
        this.padPic = padPic;
    }
}
